import { IParam } from '../../common';
import { ICtrlStore } from './i-ctrl-store';

/**
 * 菜单部件仓库数据接口
 *
 * @export
 * @interface IAppMenuStore
 * @extends {ICtrlStore}
 */
export interface IAppMenuStore extends ICtrlStore {
	/**
	 * 菜单选中数据
	 *
	 * @type {string[]}
	 * @memberof IAppMenuStore
	 */
	selections: string[];

	/**
	 * @description 菜单数据
	 * @type {IParam[]}
	 * @memberof IAppMenuStore
	 */
	menus: IParam[];

	/**
	 * @description 默认展开项
	 * @type {string[]}
	 * @memberof IAppMenuStore
	 */
	defaultExpands: string[];

	/**
	 * @description 打开视图标识
	 * @type {string}
	 * @memberof IAppMenuStore
	 */
	openViewCodeName: string;
}
